package demo.api;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Set;

@Component
@FeignClient(value = "hadage-product",path = "b2")
public interface ServerApi1 {
    @RequestMapping("o4")
    String productId(@RequestParam("msg") String msg);

    @RequestMapping("o5")
    String productId2(@RequestParam("l2") List<String> list2, @RequestBody Set<Integer> set);


    @RequestMapping("o6")
    String productId3(@RequestParam("msg") String msg);

}
